var EventEmitter = require('events').EventEmitter;

exports.EventEmitter = EventEmitter;
exports.mixin = mixin;

function mixin(Constructor) {
    for (var key in EventEmitter.prototype) {
        Constructor.prototype[key] = EventEmitter.prototype[key];
    }
}
